//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.itheima.pinda.log.entity;

import java.time.LocalDateTime;

public class OptLogDTO {
    private static final long serialVersionUID = 1L;
    private String requestIp;
    private String type;
    private String userName;
    private String description;
    private String classPath;
    private String actionMethod;
    private String requestUri;
    private String httpMethod;
    private String params;
    private String result;
    private String exDesc;
    private String exDetail;
    private LocalDateTime startTime;
    private LocalDateTime finishTime;
    private Long consumingTime;
    private String ua;
    private Long createUser;

    public String getRequestIp() {
        return this.requestIp;
    }

    public String getType() {
        return this.type;
    }

    public String getUserName() {
        return this.userName;
    }

    public String getDescription() {
        return this.description;
    }

    public String getClassPath() {
        return this.classPath;
    }

    public String getActionMethod() {
        return this.actionMethod;
    }

    public String getRequestUri() {
        return this.requestUri;
    }

    public String getHttpMethod() {
        return this.httpMethod;
    }

    public String getParams() {
        return this.params;
    }

    public String getResult() {
        return this.result;
    }

    public String getExDesc() {
        return this.exDesc;
    }

    public String getExDetail() {
        return this.exDetail;
    }

    public LocalDateTime getStartTime() {
        return this.startTime;
    }

    public LocalDateTime getFinishTime() {
        return this.finishTime;
    }

    public Long getConsumingTime() {
        return this.consumingTime;
    }

    public String getUa() {
        return this.ua;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public OptLogDTO setRequestIp(final String requestIp) {
        this.requestIp = requestIp;
        return this;
    }

    public OptLogDTO setType(final String type) {
        this.type = type;
        return this;
    }

    public OptLogDTO setUserName(final String userName) {
        this.userName = userName;
        return this;
    }

    public OptLogDTO setDescription(final String description) {
        this.description = description;
        return this;
    }

    public OptLogDTO setClassPath(final String classPath) {
        this.classPath = classPath;
        return this;
    }

    public OptLogDTO setActionMethod(final String actionMethod) {
        this.actionMethod = actionMethod;
        return this;
    }

    public OptLogDTO setRequestUri(final String requestUri) {
        this.requestUri = requestUri;
        return this;
    }

    public OptLogDTO setHttpMethod(final String httpMethod) {
        this.httpMethod = httpMethod;
        return this;
    }

    public OptLogDTO setParams(final String params) {
        this.params = params;
        return this;
    }

    public OptLogDTO setResult(final String result) {
        this.result = result;
        return this;
    }

    public OptLogDTO setExDesc(final String exDesc) {
        this.exDesc = exDesc;
        return this;
    }

    public OptLogDTO setExDetail(final String exDetail) {
        this.exDetail = exDetail;
        return this;
    }

    public OptLogDTO setStartTime(final LocalDateTime startTime) {
        this.startTime = startTime;
        return this;
    }

    public OptLogDTO setFinishTime(final LocalDateTime finishTime) {
        this.finishTime = finishTime;
        return this;
    }

    public OptLogDTO setConsumingTime(final Long consumingTime) {
        this.consumingTime = consumingTime;
        return this;
    }

    public OptLogDTO setUa(final String ua) {
        this.ua = ua;
        return this;
    }

    public OptLogDTO setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public OptLogDTO() {
    }

    public OptLogDTO(final String requestIp, final String type, final String userName, final String description, final String classPath, final String actionMethod, final String requestUri, final String httpMethod, final String params, final String result, final String exDesc, final String exDetail, final LocalDateTime startTime, final LocalDateTime finishTime, final Long consumingTime, final String ua, final Long createUser) {
        this.requestIp = requestIp;
        this.type = type;
        this.userName = userName;
        this.description = description;
        this.classPath = classPath;
        this.actionMethod = actionMethod;
        this.requestUri = requestUri;
        this.httpMethod = httpMethod;
        this.params = params;
        this.result = result;
        this.exDesc = exDesc;
        this.exDetail = exDetail;
        this.startTime = startTime;
        this.finishTime = finishTime;
        this.consumingTime = consumingTime;
        this.ua = ua;
        this.createUser = createUser;
    }

    @Override
    public String toString() {
        return "OptLogDTO(super=" + super.toString() + ", requestIp=" + this.getRequestIp() + ", type=" + this.getType() + ", userName=" + this.getUserName() + ", description=" + this.getDescription() + ", classPath=" + this.getClassPath() + ", actionMethod=" + this.getActionMethod() + ", requestUri=" + this.getRequestUri() + ", httpMethod=" + this.getHttpMethod() + ", params=" + this.getParams() + ", result=" + this.getResult() + ", exDesc=" + this.getExDesc() + ", exDetail=" + this.getExDetail() + ", startTime=" + this.getStartTime() + ", finishTime=" + this.getFinishTime() + ", consumingTime=" + this.getConsumingTime() + ", ua=" + this.getUa() + ", createUser=" + this.getCreateUser() + ")";
    }

    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof OptLogDTO)) {
            return false;
        } else {
            OptLogDTO other = (OptLogDTO)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label215: {
                    Object this$requestIp = this.getRequestIp();
                    Object other$requestIp = other.getRequestIp();
                    if (this$requestIp == null) {
                        if (other$requestIp == null) {
                            break label215;
                        }
                    } else if (this$requestIp.equals(other$requestIp)) {
                        break label215;
                    }

                    return false;
                }

                Object this$type = this.getType();
                Object other$type = other.getType();
                if (this$type == null) {
                    if (other$type != null) {
                        return false;
                    }
                } else if (!this$type.equals(other$type)) {
                    return false;
                }

                label201: {
                    Object this$userName = this.getUserName();
                    Object other$userName = other.getUserName();
                    if (this$userName == null) {
                        if (other$userName == null) {
                            break label201;
                        }
                    } else if (this$userName.equals(other$userName)) {
                        break label201;
                    }

                    return false;
                }

                Object this$description = this.getDescription();
                Object other$description = other.getDescription();
                if (this$description == null) {
                    if (other$description != null) {
                        return false;
                    }
                } else if (!this$description.equals(other$description)) {
                    return false;
                }

                label187: {
                    Object this$classPath = this.getClassPath();
                    Object other$classPath = other.getClassPath();
                    if (this$classPath == null) {
                        if (other$classPath == null) {
                            break label187;
                        }
                    } else if (this$classPath.equals(other$classPath)) {
                        break label187;
                    }

                    return false;
                }

                Object this$actionMethod = this.getActionMethod();
                Object other$actionMethod = other.getActionMethod();
                if (this$actionMethod == null) {
                    if (other$actionMethod != null) {
                        return false;
                    }
                } else if (!this$actionMethod.equals(other$actionMethod)) {
                    return false;
                }

                label173: {
                    Object this$requestUri = this.getRequestUri();
                    Object other$requestUri = other.getRequestUri();
                    if (this$requestUri == null) {
                        if (other$requestUri == null) {
                            break label173;
                        }
                    } else if (this$requestUri.equals(other$requestUri)) {
                        break label173;
                    }

                    return false;
                }

                label166: {
                    Object this$httpMethod = this.getHttpMethod();
                    Object other$httpMethod = other.getHttpMethod();
                    if (this$httpMethod == null) {
                        if (other$httpMethod == null) {
                            break label166;
                        }
                    } else if (this$httpMethod.equals(other$httpMethod)) {
                        break label166;
                    }

                    return false;
                }

                Object this$params = this.getParams();
                Object other$params = other.getParams();
                if (this$params == null) {
                    if (other$params != null) {
                        return false;
                    }
                } else if (!this$params.equals(other$params)) {
                    return false;
                }

                label152: {
                    Object this$result = this.getResult();
                    Object other$result = other.getResult();
                    if (this$result == null) {
                        if (other$result == null) {
                            break label152;
                        }
                    } else if (this$result.equals(other$result)) {
                        break label152;
                    }

                    return false;
                }

                label145: {
                    Object this$exDesc = this.getExDesc();
                    Object other$exDesc = other.getExDesc();
                    if (this$exDesc == null) {
                        if (other$exDesc == null) {
                            break label145;
                        }
                    } else if (this$exDesc.equals(other$exDesc)) {
                        break label145;
                    }

                    return false;
                }

                Object this$exDetail = this.getExDetail();
                Object other$exDetail = other.getExDetail();
                if (this$exDetail == null) {
                    if (other$exDetail != null) {
                        return false;
                    }
                } else if (!this$exDetail.equals(other$exDetail)) {
                    return false;
                }

                Object this$startTime = this.getStartTime();
                Object other$startTime = other.getStartTime();
                if (this$startTime == null) {
                    if (other$startTime != null) {
                        return false;
                    }
                } else if (!this$startTime.equals(other$startTime)) {
                    return false;
                }

                label124: {
                    Object this$finishTime = this.getFinishTime();
                    Object other$finishTime = other.getFinishTime();
                    if (this$finishTime == null) {
                        if (other$finishTime == null) {
                            break label124;
                        }
                    } else if (this$finishTime.equals(other$finishTime)) {
                        break label124;
                    }

                    return false;
                }

                Object this$consumingTime = this.getConsumingTime();
                Object other$consumingTime = other.getConsumingTime();
                if (this$consumingTime == null) {
                    if (other$consumingTime != null) {
                        return false;
                    }
                } else if (!this$consumingTime.equals(other$consumingTime)) {
                    return false;
                }

                Object this$ua = this.getUa();
                Object other$ua = other.getUa();
                if (this$ua == null) {
                    if (other$ua != null) {
                        return false;
                    }
                } else if (!this$ua.equals(other$ua)) {
                    return false;
                }

                Object this$createUser = this.getCreateUser();
                Object other$createUser = other.getCreateUser();
                if (this$createUser == null) {
                    if (other$createUser != null) {
                        return false;
                    }
                } else if (!this$createUser.equals(other$createUser)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof OptLogDTO;
    }

    @Override
    public int hashCode() {
        boolean PRIME = true;
        int results = 1;
        Object $requestIp = this.getRequestIp();
        int result = results * 59 + ($requestIp == null ? 43 : $requestIp.hashCode());
        Object $type = this.getType();
        result = result * 59 + ($type == null ? 43 : $type.hashCode());
        Object $userName = this.getUserName();
        result = result * 59 + ($userName == null ? 43 : $userName.hashCode());
        Object $description = this.getDescription();
        result = result * 59 + ($description == null ? 43 : $description.hashCode());
        Object $classPath = this.getClassPath();
        result = result * 59 + ($classPath == null ? 43 : $classPath.hashCode());
        Object $actionMethod = this.getActionMethod();
        result = result * 59 + ($actionMethod == null ? 43 : $actionMethod.hashCode());
        Object $requestUri = this.getRequestUri();
        result = result * 59 + ($requestUri == null ? 43 : $requestUri.hashCode());
        Object $httpMethod = this.getHttpMethod();
        result = result * 59 + ($httpMethod == null ? 43 : $httpMethod.hashCode());
        Object $params = this.getParams();
        result = result * 59 + ($params == null ? 43 : $params.hashCode());
        Object $result = this.getResult();
        result = result * 59 + ($result == null ? 43 : $result.hashCode());
        Object $exDesc = this.getExDesc();
        result = result * 59 + ($exDesc == null ? 43 : $exDesc.hashCode());
        Object $exDetail = this.getExDetail();
        result = result * 59 + ($exDetail == null ? 43 : $exDetail.hashCode());
        Object $startTime = this.getStartTime();
        result = result * 59 + ($startTime == null ? 43 : $startTime.hashCode());
        Object $finishTime = this.getFinishTime();
        result = result * 59 + ($finishTime == null ? 43 : $finishTime.hashCode());
        Object $consumingTime = this.getConsumingTime();
        result = result * 59 + ($consumingTime == null ? 43 : $consumingTime.hashCode());
        Object $ua = this.getUa();
        result = result * 59 + ($ua == null ? 43 : $ua.hashCode());
        Object $createUser = this.getCreateUser();
        result = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        return result;
    }
}
